/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.tms.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.tms.entity.NewPlanning;
import com.jeeplus.modules.tms.mapper.NewPlanningMapper;

/**
 * 委托单Service
 * @author 李超辉
 * @version 2019-04-24
 */
@Service
@Transactional(readOnly = true)
public class NewPlanningService extends CrudService<NewPlanningMapper, NewPlanning> {

	public NewPlanning get(String id) {
		return super.get(id);
	}
	
	public List<NewPlanning> findList(NewPlanning newPlanning) {
		return super.findList(newPlanning);
	}
	
	public Page<NewPlanning> findPage(Page<NewPlanning> page, NewPlanning newPlanning) {
		return super.findPage(page, newPlanning);
	}
	
	@Transactional(readOnly = false)
	public void save(NewPlanning newPlanning) {
		super.save(newPlanning);
	}
	
	@Transactional(readOnly = false)
	public void delete(NewPlanning newPlanning) {
		super.delete(newPlanning);
	}
	
}